<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>
    <form action="" method="post" class="form-horizontal">
        <input type="hidden" name="id" id="id" value="{$data['id']}">
        <div class="form-item">
            <label class="item-label">平台收款帐号:<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="desc" value="{$data['desc']}" placeholder="">
            </div>
            <div class="controls">
                <textarea rows="5" cols="20" id="content" class="textarea input-large kind-editor"  name="pintaishoukuan_info" >{$data['pintaishoukuan_info']}</textarea>
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <link rel="stylesheet" href="__PUBLIC__/static/kindeditor/default/default.css" />
    <script charset="utf-8" src="__PUBLIC__/static/kindeditor/kindeditor-min.js"></script>
    <script charset="utf-8" src="__PUBLIC__/static/kindeditor/zh_CN.js"></script>
    <script type="text/javascript">
        //导航高亮
        highlight_subnav("{:U('Other/pintaishoukuan')}");
    </script>
    <script type="text/javascript">

        KindEditor.ready(function (K) {
            window.editor = K.create('textarea[class="kind-editor"]', {
                //allowFileManager : false
                minWidth: 900,
                minHeight: 300,
                afterBlur: function () {
                    this.sync();
                },
            });
        });

    </script>
</block>
